package org.itcast.travel.service;

import org.itcast.travel.pojo.PageBean;
import org.itcast.travel.pojo.Place;
import org.itcast.travel.pojo.PlaceQueryParam;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface PlaceService {
    PageBean placepage(PlaceQueryParam placeQueryParam);

    void deletByIds(List<Integer> ids);

    void add(Place place);

    Place getByid(Integer id);

    void update(Place place);
}
